package IDao;

import java.time.LocalDate;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import pojo.Patient;

public interface PatientMapper {
    int deleteByPrimaryKey(String id);

    int insert(Patient record);

    int insertSelective(Patient record);

    Patient selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Patient record);

    int updateByPrimaryKey(Patient record);

	List<Patient> selectLikePatientId(@Param("id") String id);

	List<Patient> selectLikePatientName(@Param("name") String name);

	List<Patient> selectAllPatient();

	List<Patient> selectPatientByloginTime(@Param("startTime") String startTime,
                                           @Param("endTime") String endTime);

}
